const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  reLogin: state => state.user.reLogin, // 重新登陆
  isMyInfo: state => state.user.isMyInfo, // 我的信息

  asyncRoutes: state => state.routers.asyncRoutes,  // 动态路由
  routes: state => state.routers.routes, // 全部路由

  visitedViews: state => state.tagsView.visitedViews, // 历史记录页面
}
export default getters
